﻿using CookComputing.XmlRpc;

namespace BugzillaLoginSample.Proxy
{
   [XmlRpcUrl("https://bugzilla.mozilla.org/xmlrpc.cgi")]
   public interface IUserService : IXmlRpcProxy
   {
      [XmlRpcMethod("User.login")]
      LogInResult LogIn(LogInRequest logInRequest);

      [XmlRpcMethod("User.get")]
      UserInfoResponse Get(UserInfoRequest userInfoRequest);

      [XmlRpcMethod("User.logout")]
      void LogOut();
   }
}